<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
</head>
<body>
<div class="modal-header">
	<h3 class="modal-title">更新进程配置</h3>
</div>
<div class="modal-body">
	<form role="form" name="tableForm" class="form-horizontal">
		<div class="form-group" style="display:none;">
			<label for="input-userNo_search" class="col-md-2 control-label">id:</label>
				<div class="col-md-9">
					<input class="form-control" type="text"ng-model="id" style="">
				</div>
			
		</div>
		<div class="form-group" style="display:none;">
			<label for="input-userNo_search" class="col-md-2 control-label">hostid:</label>
				<div class="col-md-9">
						<input class="form-control" type="text"ng-model="hostid" style="">
				</div>
			
						
		</div>
		<div class="form-group">
			<label for="input-userNo_search" class="col-md-2 control-label">服务:</label>
				<div class="col-md-9">
					<input class="form-control" type="text"ng-model="command" style="">
				</div>		
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">类型:</label>
					<div class="col-md-9">
						<span style="">进程告警：</span><input ng-model="type" type="radio" value="1" name="type" style="">
						<span style="padding-left: 10px;">进程非告警：</span><input ng-model="type" type="radio" value="0" name="type" style="">
						<span style="padding-left: 10px;">服务命令：</span><input ng-model="type" type="radio" value="2" name="type" style="">
					</div>
						
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">告警频率:</label>
				<div class="col-md-9">
					<button id="defaultfre" ng-model="insertComponent.alarmFrequencyId" ng-click="defaultfre()" style="float:left;margin-right:20%;" class="btn btn-info" value="">默认</button>
					<select id="selectedfre1" ng-change="selectedfre1()" style="width:30%;float:left;margin-right:20px;" class="form-control" ng-model="times">
						<option ng-repeat="x in moSites" value="{{x.id}}">{{x.name}}</option>
					</select>
					<select id="selectedfre2" ng-change="selectedfre1()" style="width:30%;float:left;" class="form-control" ng-model="minutes">
						<option ng-repeat="x in sixSites" value="{{x.id}}">{{x.name}}</option>
					</select>
				</div>			
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">描述:</label>
				<div class="col-md-9">
					<input class="form-control" type="text"ng-model="desc" style="">
				</div>
				
						
		</div>	
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">用途:</label>
				<div class="col-md-9">
				<input class="form-control" type="text" ng-model="purpose" style="">
				</div>		
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label"style="">状态:</label>
				<div class="col-md-9">
					<input class="form-control" type="text" ng-model="status" style="">
				</div>		
		</div>			
		<div class="form-group" >
			<label for="input-userNo" style="" class="col-md-2 control-label">ip:</label>
			<div class="col-md-9">
				<div  style="line-height: 34px;" ng-model="ip">{{ip}}</div>
			</div>
		</div>

	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" type="button" ng-click="updatesave()">确认</button>
	<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
</div>
</body>
</html>